cmake_minimum_required (VERSION 3.0)

SET(EXAMPLE_NAME ch01-02)
SET(EXAMPLE_FILES main.cpp)

START_EXAMPLE()

configure_file (
  "${CMAKE_CURRENT_SOURCE_DIR}/shader/bezcurve.vert"
  "${CMAKE_CURRENT_BINARY_DIR}/shader/bezcurve.vert"  
  )

configure_file (
  "${CMAKE_CURRENT_SOURCE_DIR}/shader/bezcurve.frag"
  "${CMAKE_CURRENT_BINARY_DIR}/shader/bezcurve.frag"  
  )
  
configure_file (
  "${CMAKE_CURRENT_SOURCE_DIR}/shader/bezcurve.tctrl"
  "${CMAKE_CURRENT_BINARY_DIR}/shader/bezcurve.tctrl"  
  )

configure_file (
  "${CMAKE_CURRENT_SOURCE_DIR}/shader/bezcurve.teval"
  "${CMAKE_CURRENT_BINARY_DIR}/shader/bezcurve.teval"  
  )